<!DOCTYPE html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<html lang="zh-CN">
<head>
    <%@include file="/resource/common/head.jsp" %>
</head>
<body>
<div id="wrapper">
    <%@include file="/resource/common/navigator.jsp" %>
    <div id="page-wrapper">
        <div class="row">
            <div class="col-lg-12">
                <h1 class="page-header">配置读取异常消息</h1>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-12">
                <div class="panel panel-default">
                    <div class="panel-heading">
                    </div>
                    <div class="panel-body">
                        <table width="100%" class="table table-striped table-bordered table-hover" id="dataTables-example">
                            <thead>
                            <tr>
                                <th>业务系统IP</th>
                                <th>消息内容</th>
                                <th>消息产生时间</th>
                            </tr>
                            </thead>
                            <tbody>
                            <c:choose>
                                <c:when test="${!configAcquireFailLogList.isEmpty()}">
                                    <c:forEach items="${configAcquireFailLogList}" var="configAcquireFailLog">
                                        <tr>
                                            <td>${configAcquireFailLog.ip}</td>
                                            <td>${configAcquireFailLog.fail_message}</td>
                                            <td><fmt:formatDate value="${configAcquireFailLog.fail_time}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
                                        </tr>
                                    </c:forEach>
                                </c:when>
                                <c:otherwise>
                                    <tr>
                                        <td colspan="4" align="center">暂无数据</td>
                                    </tr>
                                </c:otherwise>
                            </c:choose>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- 页面依赖js文件 -->
<%@include file="/resource/common/scripts.jsp" %>
</body>
</html>
